<body>
	<a id="ooo"></a>
</body>
<script>
	var u = location.search.substring(1);
	//alert(u);
	
	alert(u);

/*
	if (0 != u.indexOf("http://"))
		location = "http://" + location.hostname + u;
	else
		location = u;
*/
	ooo.innerText = "http://" + location.hostname + u;
	ooo.href = ooo.innerText;
</script>
